<?php
$title = ' - 正在放映...';
include tpl('header');
include tpl('nav');
//print_r($cku);

foreach ($newduihua as $d) {
	echo '<p>';
	
	if($d['changjing']){
		
		echo '<img src="code://#ml1#" /><a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['uid'].'">'.$d['uname'].'</a>在<a href="'.SITE_URL.'index.php?mod=changjing&amp;act=show&amp;id='.$d['changjing'].'">'.$start->showchangjing($d['changjing']).'</a>中扮演了'.$start->showjuese($d['juese'],$d['changjing']).':';
		echo '<font color="#FF00FF">'.$d['content'].'</font>';
		
	}else{

		echo '<img src="code://#ml1#" /><a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['uid'].'">'.$d['uname'].'</a>扮演了<a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['touid'].'">'.$d['touname'].'</a>的 '.$start->showjuese($d['juese']).' '.$start->showyuqi($d['juese']).'的说:';
		echo '<font color="#FF00FF">'.$d['content'].'</font>';
		//echo '&nbsp;<a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['uid'].'&amp;touid='.$d['touid'].'">更多</a>';

	}

	
	
	echo '</p>';
}


//print_r($friends['friend']);
//echo '选择好友<input type="text" name="juese" multi="true" telfilter="pingco" size="5" />';

echo '<hr style="solid" /><p>开始进入角色。。。</p>';
echo '选择好友<select multiple="false" name="tou">';
	foreach ($friends['friend'] as $f) {
		echo '<option value="'.$f['id'].'___'.$f['name'].'">'.$f['name'].'</option>';
	}
echo '</select>';

echo '选择角色<br /><select multiple="false" name="juese">';
	foreach ($jueselist as $j) {
		echo '<option value="'.$j['id'].'">'.$j['title'].'</option>';
	}
echo '</select>';
echo '想说啥？<br/><input type="text" name="content"  size="4" />';
echo '<form action="'.SITE_URL.'index.php?mod='.$mod.'" method="post"><input type="hidden" name="tou" value="$tou"/><input type="hidden" name="juese" value="$juese" /><input type="hidden" name="content" value="$content"/><input type="hidden" name="submit" value="ok" /><input type="submit" value="提交" /></form>';



include tpl('footer');
?>